@import "_reset.scss";
$fontsize:40px;

@function potorem($w) {
    @return ($w/$fontsize)*1rem;
}

@mixin kuangao($w, $h) {
    width: potorem($w);
    height: potorem($h);
}

.footer-word {
    text-decoration: none;
    color: #8b8b8b;
}

.web {
    .heard {
        @include kuangao(640px, 89px);

        background-color: #b20000;
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: absolute;
        top: 0;
        left: 0;

        // overflow: hidden;
        .navigation {
            @include kuangao(53px, 43px);


            // background-color: pink;
            .demo {
                font-size: potorem(40px);
                color: white;
            }
        }

        .logo {
            @include kuangao(264px, 39px);


            // background-color: blue;
            img {
                width: 100%;
                height: 100%;
            }

            .demo2 {
                font-size: potorem(30px);
                color: white;
                font-weight: bold;
            }
        }

        .magnifier {
            @include kuangao(43px, 43px);
            border-radius: 50%;
            border: potorem(5px) solid white;
            text-align: center;

            .demo3 {
                font-size: potorem(43px);
                color: white;
            }
        }
    }

    .footer {
        @include kuangao(640px, 97px);
        border-top: potorem(1px) solid #bbb9ba;
        background-color: #f5f5f5;
        position: absolute;
        bottom: 0;
        left: 0;
        display: flex;
        justify-content: space-around;
        align-items: center;

        li {
            width: 20%;
            height: potorem(77px);
            position: relative;

            .footericon {

                height: potorem(41px);
                text-align: center;
                font-size: potorem(40px);
                color: #8b8b8b;
            }

            .footer-content {
                text-align: center;
                line-height: potorem(41px);
                font-size: potorem(18px);
                color: #8b8b8b;
            }

        }

        li:nth-child(4) {
            height: potorem(77px);

            .footericon {
                color: #b60005;
            }

            .footer-content {
                color: #b60005;
            }
        }

        li:not(:last-of-type) {
            &::after {
                content: '';
                display: block;
                @include kuangao(1px, 51px);
                background-color: #e9e9e9;
                position: absolute;
                right: 0;
                top: 50%;
                transform: translateY(-50%);
            }
        }
    }


    .content {
        width: potorem(640px);
        position: absolute;
        left: 0;
        top: potorem(89px);
        right: 0;
        bottom: potorem(97px);
        overflow: auto;

        .content-heard {
            @include kuangao(640px, 341px);
            background-image: url(../img4/elm.jpg);
            background-size: 100% 100%;
            position: relative;

            .mask {
                @include kuangao(640px, 91px);
                background-color: rgba(0, 0, 0, .5);
                position: absolute;
                bottom: 0;
                left: 0;
                display: flex;
                justify-content: space-around;
                align-items: center
            }

            .mask-content {
                @include kuangao(400px, 51px);


                p:first-child {
                    font-size: potorem(26px);
                    color: #ffffff;
                    line-height: potorem(26px);
                }

                p:last-child {
                    font-size: potorem(22px);
                    color: #ffffff;
                    line-height: potorem(26px);
                }
            }

            .mask-time {
                @include kuangao(170px, 18px);

                span {
                    font-size: potorem(18px);
                    color: #ffffff;
                    text-align: right
                }
            }
        }

        .tencent {
            @include kuangao(640px, 619px);
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            align-items: center;

            .tencent-content {
                @include kuangao(583px, 180px);
                border-bottom: potorem(1px) solid #cecece;
                margin: 0 auto;
                display: flex;
                justify-content: space-between;

                .tencent-img {
                    @include kuangao(210px, 142px);

                    img {
                        width: 100%;
                        height: 100%;
                    }

                }

                .tencent-introduce {
                    @include kuangao(358px, 142px);

                    .tencent-title {
                        @include kuangao(358px, 26px);
                        font-size: potorem(26px);
                        letter-spacing: potorem(1px);
                        line-height: potorem(26px);
                        color: #010101;
                    }

                    .tencent-advertisement {
                        @include kuangao(339px, 46px);
                        font-size: potorem(22px);
                        line-height: potorem(24px);
                        color: #c5c5c5;
                    }

                    .tencent-time {
                        @include kuangao(358px, 70px);

                        text-align: right;

                        span {
                            font-size: potorem(18px);
                            color: #939393;
                            line-height: potorem(120px);


                        }
                    }



                }
            }
        }

        .load-more {
            width: potorem(583px);
            height: potorem(57px);
            margin: 0 auto;


            font-size: potorem(22px);
            letter-spacing: 1px;
            color: #bbbbbb;
            display: flex;
            justify-content: center;
            align-items: center;
        }
    }
}